package com.wms.service;

import com.wms.dto.GoodsOutPageQueryDTO;
import com.wms.entity.WmsGoodsin;
import com.wms.entity.WmsGoodsout;
import com.wms.result.PageResult;

import java.util.List;

public interface GoodsOutService {
    /**
     * 分页查询
     * @param goodsOutPageQueryDTO
     * @return
     */
    PageResult page(GoodsOutPageQueryDTO goodsOutPageQueryDTO);

    /**
     * 批量删除
     * @param ids
     */
    void delete(List<Integer> ids);

    /**
     * 出库
     * @param wmsGoodsout
     */
    void applyIn(WmsGoodsout wmsGoodsout);

    /**
     * 出库审核
     * @param id
     */
    void applyPass(int id);

    /**
     * 出库审核不通过
     * @param id
     */
    void applyFail(int id);
}
